home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
pc
/
pm65sdk
/
sourcecode
/
pagemakerclasslibrary
/
queries
/
prectquery.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-13
|
879b
|
50 lines
/*
*--- PRectQuery.h --------------------------------------------------------
* Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
* Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
*
* Description:
*-------------------------------------------------------------------------
*/
#ifndef __PRectQuery__
#define __PRectQuery__
#include "PMTypes.h"
#include "PQuery.h"
class PRectQuery
{
public:
PRectQuery(ePMQuery op);
long xLeft;
long yTop;
long xRight;
long yBottom;
private:
PRectQuery();
};
template <ePMQuery QUERY>
class PRecty : public PRectQuery
{
public:
PRecty() : PRectQuery(QUERY) { };
};
typedef PRecty<pm_getpagerect> PGetPageRect;
typedef PRecty<pm_getcroprect> PGetCropRect;
typedef PRecty<pm_getselectinfo> PGetSelectInfo;
#endif
// end of PRectQuery.h